﻿Public Class profile
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

        'Check if the user is viewing their own profile page
        If Request.Params("TravellerName") = User.Identity.Name Then

            'If yes, show the edit profile button
            btn_editProfile.Visible = True
        Else

            'If no, hide the edit profile button
            btn_editProfile.Visible = False

        End If
    End Sub

    Protected Sub btn_editProfile_Click(ByVal sender As Object, ByVal e As EventArgs) Handles btn_editProfile.Click



    End Sub
End Class